<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jQuery.js"></script>
</head>
<body>
    <video src="mov.mp4" muted></video>  <!-- muted:静音 -->
    <script>
        //1.DOM对象转换为jQuery对象
        //(1)我们直接获取视频,得到的就是jQuery对象
        $('video');
        //(2)我们已经使用原生js 获取过来DOM对象
        var myVideo=document.querySelector('video');
        //$(myVideo).play(); jQuery
        
        //2. jQuery对象转换为DOM对象
        //myVideo.play();  //谷歌禁止自动播放
        $('video')[0].play();
        $('video').get(0).play();
    </script>
</body>
</html>